<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<style type="text/css">
body
{
	text-align: center;
}
.boxed {
margin-left: auto ;
margin-right: auto ;
width: 400px; 
height: 250px;
border-style: groove;
border-color: #c0c0c0;
background-color:#c0c0c0;
text-align: center ;
}
</style>

<title>ChangePassword</title>
</head>

<body>
<br>
<br>
<br>
<br>
<br>
<h2 align="center">Change your password</h2>

<div><s:actionerror /></div>
<div class="boxed">
<s:form action="changepwd" method="post" >
<br>
<br>
	<s:textfield name="userId" key="label.username" size="20" />	
	<s:password name="oldPwd" key="label.oldpassword" size="20" />
	<s:password name="newPwd1" key="label.changepassword1" size="20" />
	<s:password name="newPwd2" key="label.changepassword2" size="20" />
	<br>	
	<s:submit method="changePassword" value="Submit" align="center" namespace="/"/>
</s:form>
</div>
</body>
</html>